﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Recipe
{
    public interface IRecipeSteps
    {
        void AddStepsToRecipe(int recipeId,int stepCount,string text,Model.RecipeImage recipeImage,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void AddStepsToRecipe(Model.RecipeStep step, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemoveStepsFromRecipe(int recipeStepId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void UpdateRecipeSteps(Model.RecipeStep step, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        List<Model.RecipeStep> GetAllRecipeSteps(int recipeId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        Model.RecipeStep GetRecipeStep(int recipeStepId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

    }
}